No need to have GTK call this from the outside.
#include "a11y/gtkwindowaccessibleprivate.h"
#include "a11y/gtkcontaineraccessibleprivate.h"
-#include "inspector/init.h"
#include "inspector/window.h"
#include "gdk/gdktextureprivate.h"
if (inspector_window == NULL)
{
- gtk_inspector_init ();
inspector_window = gtk_inspector_window_new ();
gtk_window_set_hide_on_close (GTK_WINDOW (inspector_window), TRUE);
#include <stdlib.h>
+#include "init.h"
#include "window.h"
#include "prop-list.h"
#include "controllers.h"
GtkWidget *
gtk_inspector_window_new (void)
{
+ gtk_inspector_init ();
+
return GTK_WIDGET (g_object_new (GTK_TYPE_INSPECTOR_WINDOW,
"display", get_inspector_display (),
NULL));